package com.example.computer_exam_training_sys.service;

import com.example.computer_exam_training_sys.entity.QuestionCommentInfo;

import java.util.List;
import java.util.Map;

public interface QuestionCommentService {
    int addComment(QuestionCommentInfo comment);
    int deleteComment(Integer comment_id);
    List<QuestionCommentInfo> getCommentsByQuestionId(Integer question_id);
    List<QuestionCommentInfo> getAllComments();
    Map<String, Object> getCommentsWithPagination(String search, int page, int size);
    int batchDeleteComments(List<Integer> commentIds);
    List<QuestionCommentInfo> getCommentsByTopicId(Integer topicId);
}